{#{% load staticfiles %}#}
{% load static %}
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>信息管理系统_用户登录</title>
    <link rel="icon" href="https://image.youis.top/00.png" sizes="32x32">
    <link href="{% static 'plugins/bootstrap.css' %}" rel="stylesheet">
    <link href="{% static 'plugins/font-awesome.css' %}" rel="stylesheet">
    <link href="{% static 'plugins/bootstrap-dashen.css' %}" rel="stylesheet">
    <link href="{% static 'css/head.css' %}" rel="stylesheet">
    <link rel='stylesheet' href="{% static 'css/login.css' %}">

</head>
<body>
{#   这是主页的页头部分  #}
{% include 'header.html' %}
<div class="container">
<br>
    <br>
    <br>
    <br>
    <br>
    <div class="row">
        <div class="col-md-offset-3 col-md-6">
            <form method="post" action="{% url "Index:login" %}" class="form-horizontal">
                <span class="heading">用户登录</span>
                <div class="form-group">
                    <input type="text" class="form-control" id="inputEmail3" name="username" placeholder="用户名或电子邮件">
                    <i class="fa fa-user"></i>
                </div>
                <div class="form-group help">
                    <input type="password" class="form-control" id="inputPassword3" name="password" placeholder="密　码">
                    <i class="fa fa-lock"></i>
                    <a href="#" class="fa fa-question-circle"></a>
                </div>
                {% csrf_token %} <!-验证数据-->
                <div class="form-group">
                    <div class="main-checkbox">
                        <input type="checkbox" value="None" id="checkbox1" name="check"/>
                        <label for="checkbox1"></label>
                    </div>
                    <span class="text">记住账号</span>
                    <input type="submit" class="btn  btn-info top5" value="登录">
                    <span style="color:red;">{{ error_msg }}</span>
                </div>
            </form>
        </div>
    </div>
</div>
<script type="text/javascript" src="{% static 'easyui/jquery.min.js' %}"></script>
<script type="text/javascript" src="{% static 'easyui/jquery.easyui.min.js' %}"></script>

</body>
</html>